<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

<!-- 加入SpringMVC的表单标签 -->
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.3.1.min.js"></script>
<title>Insert title here</title>
</head>
<body>
	<div>
		<form action="${pageContext.request.contextPath}/doUpdShop" method="post">
 			<input type="hidden" name="_method" value="PUT">
			<input type="hidden" name="shopId" value="${updMessage.shopId }">
			<table>
				<caption>基本信息修改</caption>
				<tr>
					<td align="center">名称：</td>
					<td><input type="text" name="shopName" value="${updMessage.shopName }"></td>
				</tr>
				<tr>
					<td align="center">电话：</td>
					<td><input type="text" name="shopTel" value="${updMessage.shopTel }"></td>
				</tr>
				<tr>
					<td align="center">邮箱：</td>
					<td><input type="text" name="shopEmail" value="${updMessage.shopEmail }"></td>
				</tr>
				<tr>
					<td align="center">身份证：</td>
					<td><input type="text" name="shopCard" value="${updMessage.shopCard }"></td>
				</tr>
				<tr>
					<td align="center">地址：</td>
					<td><input type="text" name="shopAddress" value="${updMessage.shopAddress }"></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit"  value="修改"></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>